package com.mcp_life.module.mcpclientmodules.mapper;

import com.mcp_life.entity.pojo.RestaurantProduct;
import com.mcp_life.entity.pojo.RestaurantStore;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AiRestaurantMapper {
@Select("select store_id from restaurant_product where product_name =#{userInputDish}")
    List<RestaurantProduct> selectByDish(String userInputDish);
@Select("select * from restaurant_store where id = #{id}")
    RestaurantStore selectById(Long id);
}
